#ifndef __XTHREAD_POOL_HPP__
#define __XTHREAD_POOL_HPP__

#include <vector>
class work_thread;
class xthread_pool
{
private:
    /* data */
    int m_count = 0;
    int m_last_thread = -1;
    std::vector<work_thread*> threads;

public:
    xthread_pool(/* args */);
    ~xthread_pool();
    static xthread_pool* getInstance();
    void init_thread(int);
    
};



#endif